home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Views / Tiled Views / PaneRow.h < prev    next >
Text File  |  2000-06-23  |  767b  |  38 lines

  1. // PaneRow.h
  2.  
  3. #ifndef PaneRow_h
  4. #define PaneRow_h
  5.  
  6. #ifndef TiledView_h
  7. #include "TiledView.h"
  8. #endif
  9. #ifndef SuggestsPaneSize_h
  10. #include "SuggestsPaneSize.h"
  11. #endif
  12. #ifndef ConformsToPaneSize_h
  13. #include "ConformsToPaneSize.h"
  14. #endif
  15.  
  16. class PaneRow: public TiledView,
  17.                     virtual public SuggestsPaneSize,
  18.                     virtual public ConformsToPaneSize
  19.   {        
  20.     protected:
  21.         virtual void PaneSizeChanged();
  22.     
  23.     public:
  24.         virtual int32 MinimumWidth() const;
  25.         virtual int32 MinimumHeight() const;
  26.         
  27.         virtual int32 MaximumWidth() const;
  28.         virtual int32 MaximumHeight() const;
  29.  
  30.         virtual int32 ReasonableWidth() const;
  31.         virtual int32 ReasonableHeight() const;
  32.         
  33.         virtual int32 BestWidth( Range32 bounds ) const;
  34.         virtual int32 BestHeight( Range32 bounds ) const;
  35.   };
  36.  
  37. #endif
  38.